package cn.wbnyua.msm.core.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 作者：wbnyua.
 * 创建时间: 2023/2/9 16:31.
 */


@EqualsAndHashCode(callSuper = true)
@Data
public class ForbiddenException extends Exception{

    private Integer code;
    private String message;
    private Integer httpStatusCode = 403;

    public ForbiddenException(Integer code){
        this.code = code;
    }

}
